Optimal. Leaf size=42 \[ -\frac{2 \sqrt{2-b x}}{\sqrt{x}}-2 \sqrt{b} \sin ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0091793, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188, Rules used = {47, 54, 216} \[ -\frac{2 \sqrt{2-b x}}{\sqrt{x}}-2 \sqrt{b} \sin ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{2}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 47
Rule 54
Rule 216
Rubi steps
\begin{align*} \int \frac{\sqrt{2-b x}}{x^{3/2}} \, dx &=-\frac{2 \sqrt{2-b x}}{\sqrt{x}}-b \int \frac{1}{\sqrt{x} \sqrt{2-b x}} \, dx\\ &=-\frac{2 \sqrt{2-b x}}{\sqrt{x}}-(2 b) \operatorname{Subst}\left (\int \frac{1}{\sqrt{2-b x^2}} \, dx,x,\sqrt{x}\right )\\ &=-\frac{2 \sqrt{2-b x}}{\sqrt{x}}-2 \sqrt{b} \sin ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{2}}\right )\\ \end{align*}
Mathematica [A] time = 0.014115, size = 42, normalized size = 1. \[ -\frac{2 \sqrt{2-b x}}{\sqrt{x}}-2 \sqrt{b} \sin ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{2}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.024, size = 90, normalized size = 2.1 \begin{align*} 2\,{\frac{ \left ( bx-2 \right ) \sqrt{ \left ( -bx+2 \right ) x}}{\sqrt{-x \left ( bx-2 \right ) }\sqrt{x}\sqrt{-bx+2}}}-{\sqrt{b}\arctan \left ({\sqrt{b} \left ( x-{b}^{-1} \right ){\frac{1}{\sqrt{-b{x}^{2}+2\,x}}}} \right ) \sqrt{ \left ( -bx+2 \right ) x}{\frac{1}{\sqrt{x}}}{\frac{1}{\sqrt{-bx+2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.54535, size = 240, normalized size = 5.71 \begin{align*} \left [\frac{\sqrt{-b} x \log \left (-b x + \sqrt{-b x + 2} \sqrt{-b} \sqrt{x} + 1\right ) - 2 \, \sqrt{-b x + 2} \sqrt{x}}{x}, \frac{2 \,{\left (\sqrt{b} x \arctan \left (\frac{\sqrt{-b x + 2}}{\sqrt{b} \sqrt{x}}\right ) - \sqrt{-b x + 2} \sqrt{x}\right )}}{x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 1.74417, size = 136, normalized size = 3.24 \begin{align*} \begin{cases} - 2 \sqrt{b} \sqrt{-1 + \frac{2}{b x}} - i \sqrt{b} \log{\left (\frac{1}{b x} \right )} + 2 i \sqrt{b} \log{\left (\frac{1}{\sqrt{b} \sqrt{x}} \right )} - 2 \sqrt{b} \operatorname{asin}{\left (\frac{\sqrt{2} \sqrt{b} \sqrt{x}}{2} \right )} & \text{for}\: \frac{2}{\left |{b x}\right |} > 1 \\- 2 i \sqrt{b} \sqrt{1 - \frac{2}{b x}} - i \sqrt{b} \log{\left (\frac{1}{b x} \right )} + 2 i \sqrt{b} \log{\left (\sqrt{1 - \frac{2}{b x}} + 1 \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]